package com.example.demo.strategy;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cici
 */
public class TestMain {
    public static void main(String[] args) {
        List<MethodService> methodServiceList = new ArrayList<>();
        Method1 method1 = new Method1();
        Method2 method2 = new Method2();
        methodServiceList.add(method1);
        methodServiceList.add(method2);
        BizMethod bizMethod = new BizMethod(methodServiceList);
        bizMethod.doBizMethod(1);
    }
}
